package com.juneng.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 订单商品信息实体类
 *
 * @author zds
 * @since 2021-07-31
 */
@Data
@ApiModel(value = "OrderMsg对象", description = "订单商品信息")
@TableName("order_msg")
public class OrderMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
  @ApiModelProperty(value = "自增id")
  @TableId(value = "order_msg_id", type = IdType.AUTO)

  private Long orderMsgId;
    /**
     * 内部订单编号
     */
  @ApiModelProperty(value = "内部订单编号")

  private String internalOrder;
    /**
     * 书籍id
     */
  @ApiModelProperty(value = "书籍id")

  private Long bookId;
    /**
     * 书籍图片
     */
  @ApiModelProperty(value = "书籍图片")

  private String bookPic;
    /**
     * 书籍名称
     */
  @ApiModelProperty(value = "书籍名称")

  private String bookName;
    /**
     * 销售价格
     */
  @ApiModelProperty(value = "销售价格")

  private BigDecimal bookPrice;
    /**
     * 购买数量
     */
  @ApiModelProperty(value = "购买数量")

  private Integer orderCount;
    /**
     * 退款进度：0未申请；1申请中；2已退款
     */
  @ApiModelProperty(value = "退款进度：0未申请；1申请中；2已退款")

  private Integer refundSchedule;


}
